import { GameEvent } from "@/types/game/event";
export default {
    gameStart: (<GameEvent>{
        name: "gameStart",
        data: {}
    }),
    gameRoundStart: (<GameEvent>{
        name: "gameRoundStart",
        data: {},
        async action(eventData, gameData, gameAction, eventManager) {
            gameData.roundNumber++;
        },
    }),
    gameRoundEnd: (<GameEvent>{
        name: "gameRoundEnd",
        data: {},
        async action(eventData, gameData, gameAction, eventManager) {
            eventManager.addEvent(eventManager.eventList.gameRoundStart);
        },
    }),
    gameEnd: (<GameEvent>{
        name: "gameEnd",
        data: {}
    }),
}


